package com.shopping.mall.core.module.specialValue.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;
import java.sql.Timestamp;

/**
 * SpecialValue实体类
 *
 * @author zzy
 * @date 2021-09-07
 */
@Data
@TableName("special_value")
public class SpecialValue {

public interface insert {
}

public interface update {
}

    @ApiModelProperty(value = "订单发货后自动确认收货时间")
    @Max(value = 60,message = "数值最大为60天",groups = {insert.class,update.class})
    @Min(value = 0,message = "数值最小为0天",groups = {insert.class,update.class})
    @NotNull(message = "order_auto_finish不能为空" , groups = {insert.class})
    private Integer orderAutoFinish;

    private String recommendGoods;


}
